package com.platform.pojo;

import java.util.Date;

public class Menu {
    private Integer id;

    private Integer parentId;

    private String url;

    private String name;

    private Integer state;

    private String descInfo;

    private Integer linkType;

    private Integer ord;

    private Date createTime;

    private Date updateTime;

    public Menu(Integer id, Integer parentId, String url, String name, Integer state, String descInfo, Integer linkType, Integer ord, Date createTime, Date updateTime) {
        this.id = id;
        this.parentId = parentId;
        this.url = url;
        this.name = name;
        this.state = state;
        this.descInfo = descInfo;
        this.linkType = linkType;
        this.ord = ord;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Menu() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getDescInfo() {
        return descInfo;
    }

    public void setDescInfo(String descInfo) {
        this.descInfo = descInfo == null ? null : descInfo.trim();
    }

    public Integer getLinkType() {
        return linkType;
    }

    public void setLinkType(Integer linkType) {
        this.linkType = linkType;
    }

    public Integer getOrd() {
        return ord;
    }

    public void setOrd(Integer ord) {
        this.ord = ord;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}